<?php

namespace app\admin\command;

use Carbon\Carbon;
use fast\Random;
use think\console\Command;
use think\console\Input;
use think\console\input\Option;
use think\console\Output;
use think\Db;
use think\Env;
use think\Exception;
use think\Log;

use app\common\library\Batch;


class Feedback extends Command
{
    protected $scoreTypes = [
        'middle'  => '中考体育',
        'senior'  => '高考体育',
    ];

    private $_outDir = '/uploads/create';

    // 在CalPersonSalary后运行
    protected function configure()
    {
        $this->setName('feedback')
            ->setDescription('自动反馈, 每分钟运行一次');
    }
    
    protected function execute(Input $input, Output $output)
    {
        @ini_set("memory_limit",'-1');
        $stime=microtime(true);



        $etime=microtime(true);//获取程序执行结束的时间
        $total=$etime-$stime;   //计算差值
        $output->writeln($total);
        $output->info('cal success');
    }

}
